<!DOCTYPE html>
<html>
  <head>
    <title>IERP ${company.name}</title>
    <meta name="keywords" content="ierp, IERP" />
	<meta name="description" content="" />
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="dfile/css/bootstrap.min.css" rel="stylesheet">
    <link href="dfile/css/font-awesome.min.css" rel="stylesheet">
    <link href="dfile/css/templatemo_style.css" rel="stylesheet">
    <link href="dfile/css/circle.css" rel="stylesheet">
    <link rel="stylesheet" href="dfile/css/nivo-slider.css">
    <link href='dfile/css/font.css' rel='stylesheet' type='text/css'>
    <script src="dfile/js/jquery.js" type="text/javascript"></script>
    <script src="dfile/js/modernizr.custom.js"></script>

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="dfile/js/html5shiv.js"></script>
      <script src="dfile/js/respond.min.js"></script>
    <![endif]-->
    
    <style type="text/css">
    	.c100:after {
    		background-color: #ffffff;
    	}
    	
    	.col-sm-6 .c100 {
    		cursor: pointer;
    	}
    	
    	.c100 span{
    		color: #777;
    	}
    	
    	p {
    		font-size: 26px;
    	}
    	
    	.infoTxt,.infoTxt p {
    		font-size: 14px;
    		line-height: 1.42857;
    	}
    	
    	.click_hand {
    		cursor: pointer;
    	}
    	
    </style>
  </head>
  <body>
    
    <div id="templatemo_about" class="section3" style="border-bottom: none;">
      <div class="container">
        <div class="row">
          <div class="col-md-12">
            <div class="secHeader">
              <h1 class="text-center">
              	<a class="text-title" href="#">${company.name}</a>
              </h1>
              <h3 class="text-center" style="background-color: #00ace9;">
              	<a class="text-title" style="color: #ffffff;" href="#">${company.industry.name!"IERP 服务企业"}</a>
              </h3>
              <div class="infoTxt" style="margin-top: 30px;">
              	<p class="text-center"><small>IERP是服务于企业公司的信息化管理平台.</small></p>
              </div>
              <h3 class="text-center" style="margin-top: 40px;">
              	<a class="text-title" href="#">IERP 正在为您跳转到登录页面,请稍候 <span id="wait_time"></span> 秒</a>
              </h3>
              <p class="text-center"><small>点击<a class="text-title click_hand" href="${accessPath}">链接</a>直接跳转到登录页面 <span style="width: 20px;">&nbsp;<span> <a class="text-title click_hand" href="#" id="un_redirect">暂不跳转</a></small></p>
            </div>
          </div>
        </div>
      </div>
    </div>

      <script type="text/javascript">
        var time = 4;
        var $waitTime = $("#wait_time").text(time);
        jQuery(function($) {
          $(document).ready( function() {
            $(".knob").children("a").click(function(){
            	var $this = $(this),
            		$fIsp = $("#ispRedirectForm");
            	var url = "ispRedirect/" + $fIsp.find("input[name='industry']").val() + "-" + $fIsp.find("input[name='company']").val() + "-" + $this.attr("id");
            	window.location.href = url;
            });
            
            var timer = setInterval(function(){
	            $waitTime.text(--time);
            	if(time==0){
            		window.location.href = "${accessPath}";
            		clearInterval(timer);
            		time = 4;
            	}
            }, 1000);
            
            
            
            $("#un_redirect").click(function(){
            	clearInterval(timer);
            });
          });
        });
      </script>
      
</body>
</html>